package com.xxxt.entity;

import java.util.List;

//学生实体类
public class Student {

private String sno;//学号

private String password;//密码

private String name;//名字

private String sex;//学生姓名

private String idcard;//身份证

private String phone;//电话

private String email;//邮箱

private String liveSituation;//居住情况(校内校外)

private String birthPlace;//籍贯

private ClassGrade classGrade;//与学生关联的班级实体类

private Teacher teacher;//与学生关联的老师

private Company company;//与学生关联的公司

private List<Summarize> summarizes;//学生上传的总结

private List<Comment> comments;//学生发表的吐槽

private List<Practice> practices;//学生的所有实习记录

private List<Feedback> feedbacks;//与学生关联的反馈集合




public Student(String sno, String password, String name, String sex, String idcard, String phone, String email,
		String liveSituation, String birthPlace, ClassGrade classGrade, Teacher teacher, List<Summarize> summarizes,
		List<Comment> comments, List<Practice> practices, List<Feedback> feedbacks) {
	super();
	this.sno = sno;
	this.password = password;
	this.name = name;
	this.sex = sex;
	this.idcard = idcard;
	this.phone = phone;
	this.email = email;
	this.liveSituation = liveSituation;
	this.birthPlace = birthPlace;
	this.classGrade = classGrade;
	this.teacher = teacher;
	this.summarizes = summarizes;
	this.comments = comments;
	this.practices = practices;
	this.feedbacks = feedbacks;
}
public Student(String sno,String phone, String sex, String email, String idcard,
		String liveSituation, String birthPlace) {
	super();
	this.sno = sno;
	this.sex = sex;
	this.idcard = idcard;
	this.phone = phone;
	this.email = email;
	this.liveSituation = liveSituation;
	this.birthPlace = birthPlace;
}
public Student(String sno, String sex, String email, 
		String liveSituation, String birthPlace) {
	super();
	this.sno = sno;
	this.sex = sex;
	this.email = email;
	this.liveSituation = liveSituation;
	this.birthPlace = birthPlace;
}
public Student(String sno, String password, String name,ClassGrade classGrade, Teacher teacher) {
	super();
	this.sno = sno;
	this.password = password;
	this.name = name;
	this.classGrade = classGrade;
	this.teacher = teacher;
}

public Student(String sno, String password, String email, String name, String idcard, String phone,
		String liveSituation, String birthPlace, ClassGrade classGrade, Teacher teacher) {
	super();
	this.sno = sno;
	this.password = password;
	this.name = name;
	this.idcard = idcard;
	this.phone = phone;
	this.email = email;
	this.liveSituation = liveSituation;
	this.birthPlace = birthPlace;
	this.classGrade = classGrade;
	this.teacher = teacher;
}
public Student(String sno, String password, String name, String phone, String email, ClassGrade classGrade, String idcard, Teacher teacher,
		String liveSituation, String birthPlace) {
	super();
	this.sno = sno;
	this.password = password;
	this.name = name;
	this.idcard = idcard;
	this.phone = phone;
	this.email = email;
	this.liveSituation = liveSituation;
	this.birthPlace = birthPlace;
	this.classGrade = classGrade;
	this.teacher = teacher;
}

public Student() {}

public String getSno() {
	return sno;
}

public void setSno(String sno) {
	this.sno = sno;
}

public String getPassword() {
	return password;
}

public void setPassword(String password) {
	this.password = password;
}

public String getName() {
	return name;
}

public void setName(String name) {
	this.name = name;
}

public String getIdcard() {
	return idcard;
}

public void setIdcard(String idcard) {
	this.idcard = idcard;
}

public String getPhone() {
	return phone;
}

public void setPhone(String phone) {
	this.phone = phone;
}

public String getEmail() {
	return email;
}

public void setEmail(String email) {
	this.email = email;
}

public String getLiveSituation() {
	return liveSituation;
}

public void setLiveSituation(String liveSituation) {
	this.liveSituation = liveSituation;
}

public String getBirthPlace() {
	return birthPlace;
}

public void setBirthPlace(String birthPlace) {
	this.birthPlace = birthPlace;
}

public ClassGrade getClassGrade() {
	return classGrade;
}

public void setClassGrade(ClassGrade classGrade) {
	this.classGrade = classGrade;
}

public Teacher getTeacher() {
	return teacher;
}

public void setTeacher(Teacher teacher) {
	this.teacher = teacher;
}

public List<Summarize> getSummarizes() {
	return summarizes;
}

public void setSummarizes(List<Summarize> summarizes) {
	this.summarizes = summarizes;
}

public List<Comment> getComments() {
	return comments;
}

public void setComments(List<Comment> comments) {
	this.comments = comments;
}

public List<Practice> getPractices() {
	return practices;
}

public void setPractices(List<Practice> practices) {
	this.practices = practices;
}

public List<Feedback> getFeedbacks() {
	return feedbacks;
}

public void setFeedbacks(List<Feedback> feedbacks) {
	this.feedbacks = feedbacks;
}


public String getSex() {
	return sex;
}
public void setSex(String sex) {
	this.sex = sex;
}

public Company getCompany() {
	return company;
}
public void setCompany(Company company) {
	this.company = company;
}
@Override
public String toString() {
	return "Student [sno=" + sno + ", password=" + password + ", name=" + name + ", sex=" + sex + ", idcard=" + idcard
			+ ", phone=" + phone + ", email=" + email + ", liveSituation=" + liveSituation + ", birthPlace="
			+ birthPlace + ", classGrade=" + classGrade + ", teacher=" + teacher + ", company=" + company
			+ ", summarizes=" + summarizes + ", comments=" + comments + ", practices=" + practices + ", feedbacks="
			+ feedbacks + "]";
}



}
